package cn.sjtu.design_pattern.factory.factory_method;

/**
 * @author syo 2319615164@qq.com
 * @description 工厂方法测试客户端
 * @date 2024/5/16
 * @Copyright syo
 */
public class Client {
    public static void main(String[] args) {
        new AliPayServiceFactory().getPayService().pay();
        new WeChatPayServiceFactory().getPayService().pay();
    }
}
